﻿using System;

namespace ClassLibrary
{
    public class SimpleClass : IComparable
    {
        public int TheValue;

        public int CompareTo(object obj)
        {
            SimpleClass that = obj as SimpleClass;
            if (this.TheValue < that.TheValue) return -1;
            if (this.TheValue > that.TheValue) return 1;
            return 0;
        }
    }
}
